package com.esgov.chatbot.entity.chatbot.chat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Eric Lao
 * @since 2023/3/22 16:14
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("当AnswerType为Text时，此字段包含机器人返回的Text对象")
public class Text {

    @ApiModelProperty("文本消息的内容。如：请问您要查哪里的天气？")
    private String content;

    @ApiModelProperty("区分答案类型。 " +
            "ChitChat: 系统预置闲聊，" +
            "USER_DEFINED_CHAT: ⾃定义闲聊，" +
            "BotFramework: 对话⼯⼚，" +
            "NO_ANSWER: ⽆答案，" +
            "MACHINE_READ:机器阅读，" +
            "CardAnswer卡⽚答案[⾮标，依221赖卡⽚⼯坊能⼒]，" +
            "ToAgent: 转人工服务")
    private String answerSource;
}
